package com.example.administrator.project_mould;

import android.app.Activity;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.view.Window;
import android.widget.FrameLayout;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        this.requestWindowFeature(Window.FEATURE_NO_TITLE);

        setContentView(R.layout.activity_main);

        com.wanjian.sak.LayoutManager.init(this);

        FrameLayout contaner = (FrameLayout) findViewById(R.id.contaner);

        //add方式显示Fragment
        FragmentTransaction transaction = getFragmentManager().beginTransaction();
        transaction.add(R.id.contaner,new ClassTableFragment(),"classTableFragment");
        transaction.commit();

    }
}
